<?php

use Illuminate\Database\Seeder;

class RoleSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {

        $roles = [
        [
            'id' => 101,
            'name'         => 'owner',
            'display_name' => '拥有者',
            'description'  => '最高级管理员',
            ],[
            'id' => 201,
            'name'         => 'admin',
            'display_name' => '管理员',
            'description'  => '管理员',
            ],[
            'id' => 301,
            'name'         => 'devloper',
            'display_name' => '开发工程师',
            'description'  => '开发人员',
            ],[
            'id' => 808,
            'name'         => 'operations',
            'display_name' => '运营人员',
            'description'  => '运营',
            ],[
            'id' => 888,
            'name'         => 'sales',
            'display_name' => '销售人员',
            'description'  => '销售人员',
            ],[
            'id' => 1100,
            'name'         => 'company',
            'display_name' => '企业',
            'description'  => '企业客户',
            ],[
            'id' => 2100,
            'name'         => 'hr',
            'display_name' => 'HR',
            'description'  => '全民 HR',
            ]
        ];

        DB::table('roles')->insert($roles);
    }
}
